(SST) ShlWAPI.pas Version 1.08

Developer Reference
TDllVersionInfo Type Definition
Record/structure, consisting of members/fields that provide information on the version of a dll.
Scope
Global (i.e. variables of this type can be declared in any unit that uses/includes the unit in which it is defined/declared).
Syntax
TYPE _DllVersionInfo = RECORD
cbSize : DWORD;
dwMajorVersion : DWORD;
dwMinorVersion : DWORD;
dwBuildNumber : DWORD;
dwPlatformID : DWORD;
END;
TYPE DllVersionInfo = _DLLVERSIONINFO;
TYPE TDllVersionInfo = DllVersionInfo;
TYPE PDllVersionInfo = ^DllVersionInfo;
Members/Fields
cbSize A unsigned, double word (i.e. 32-bit) integer value that is used to store the size of the record/structore in number of bytes.
dwMajorVersion A unsigned, double word (i.e. 32-bit) integer value that represents the dll's major version.
dwMinorVersion A unsigned, double word (i.e. 32-bit) integer value that represents the dll's minor version.
dwBuildNumber A unsigned, double word (i.e. 32-bit) integer value that represents the dll's build number.
dwPlatformID A unsigned, double word (i.e. 32-bit) integer value that identifies the platform for which the dll was built. This member/field can be set to one of the two following values:
DLLVER_PLATFORM_WINDOWS (= 1) The dynamic link library was not built for one, paricular line of Windows operating systems.
Typically, dlls that return this value contain functions that were developed to be executed under both Win 9x and NT based operating system versions and are exported as (both) an ANSI and a Unicode function.
DLLVER_PLATFORM_NT (= 2) The dynamic link library was built for Windows NT and/or a successor version.
Typically, dlls that return this value contain functions that were developed to be executed exclusively under NT based operating system versions and are generally exported (only) as Unicode functions.
Values
A variable of this type accepts five (5) unsigned, double word integer values or 20 bytes of data.
Remarks
The cbSize member/field should be set to the size of the record/structure (in number of bytes) prior to passing a (pointer to a) variable of this type to DllGetVersion as a parameter.
Example
For examples on how to use records/structures of this type please refer to the DllGetVersion function's and/or TDllGetVersionProc's description.
Requirements
Unit Declared in ShlWAPI.pas
Library ShlWAPI.dcu/ShlWAPI.obj
See Also
TDllVersionInfo2, TDllGetVersionProc, DllGetVersion.
 
Windows APIs: DLLVERSIONINFO, DLLVERSIONINFO2, DllGetVersion.

Document/Contents version 1.00
Page/URI last updated on 07.12.2023
 
Copyright © Stoelzel Software Technologie (SST) 2010 - 2017
Suggestions and comments mail to:
webmaster@stoelzelsoftwaretech.com